<?php $this->render("mheader.php");?>

<div class="main_box">   
    <div class="w_986 create_top_buzhou <?php if ($this->key=='top'){?>create_top_set_nav<?php }else{?>create_top_set_left_nav<?php }?>"></div>
    
    <div class="w_986 plate_986">
        <div class="plate_986_bg top_bg"></div>
        <div class="plate_986_bg mid_bg">
        	<div class="w_660">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_w_660">
              <tr>
                <th width="110">序号</th>
                <th width="150">标题</th>
                <th width="136">状态</th>
                <th width="136">操作</th>
                <th>排序</th>
              </tr>
              <?php
              foreach ($this->menu as $index => $v):
             	$is_edit = true;
              	$is_del = true;
              	if ($v['type'] == 'login'){
              		$is_edit = false;
              		$is_del = false;
              	}elseif($v['type'] == 'file'){
					$is_del = true;
				}
              ?>
              <tr id="row_<?php echo $index;?>">
                <td><?php echo $index+1;?></td>
                <td><?php echo $v['name'];?></td>
                <td><?php if ($v['show']){?>显示<?php }else{?>隐藏<?php }?></td>
                <td><?php if ($is_edit){?><a onclick='javascript:docreate4_edit_s1(<?php echo $index;?>, <?php echo "{$this->mid},\"{$this->key}\",{$this->minfo['language']}";?>);' href="javascript:void(0);">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp; <?php }if ($is_del){?><a onclick="javascript:docreate4_del(<?php echo $this->mid;?>, '<?php echo $this->key;?>', <?php echo $index;?>);" href="javascript:void(0);">删除</a><?php }?></td>
                <td><a href="javascript:void(0);" onclick="javascript:docreate4_pos(<?php echo $this->mid;?>,'up', '<?php echo $this->key;?>', <?php echo $index;?>);" class="icon_up icon_all"></a>
                <a href="javascript:void(0);" onclick="javascript:docreate4_pos(<?php echo $this->mid;?>,'down', '<?php echo $this->key;?>', <?php echo $index;?>);" class="icon_down icon_all"></a></td>
              </tr>
              <?php endforeach;?>
            </table>
            
            <div class=" txt_c create_btn_box">
            	<strong><a onclick="javascript:docreatemeet4_s1(<?php echo "{$this->mid},'{$this->key}','article',{$this->minfo['language']}"?>);" href="javascript:void(0);" class="btn_blue_bor">添加栏目</a></strong>
            	<strong><a onclick="javascript:docreatemeet4_s1(<?php echo "{$this->mid},'{$this->key}','file',{$this->minfo['language']}"?>);" href="javascript:void(0);" class="btn_blue_bor">添加上传文件</a></strong>
            </div>
			</div>

        	<div class="clear"></div>
            
            <div class="txt_r">
            	<a href="<?php echo $this->preurl;?>" class="line_bg_all btn_blue30">◀ 上一步</a>
                &nbsp;&nbsp;&nbsp;&nbsp;
            	<a href="<?php echo $this->nexturl;?>" class="line_bg_all btn_blue30">下一步 ▶</a>                
            </div>
        </div>
    	<div class="plate_986_bg bot_bg"></div>
    </div>
    
</div>


<?php $this->render("footer.php");?>



<!-- 弹出层1开始 -->
<div id="div_create" style="display:none">
<input type="hidden" value="0" name="c_aid_cn" id="c_aid_cn"/>
<input type="hidden" value="0" name="c_aid_en" id="c_aid_en"/>
<div class="win_float_box" id="id_win_float_box">
	<div class="shadow"></div>
    <div class="win_box">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="register_table">
          <tr>
            <th class="w_75" nowrap="nowrap">中文标题：</th>
            <td class="w_255"><input id="c_name" name="c_name" size="25" type="text" class="input_style" /></td>
            <th class="w_75 lan_en">英文标题：</th>
            <td class="lan_en"><input id="c_enname" name="c_enname" size="25" type="text" class="input_style" /></td>
          </tr>
          <tr>
            <th class="w_75">状态：</th>
            <td colspan="3">
            	<label><input id="c_show1" name="c_show" type="radio" value="1" /> 显示</label>
                <label class="margin_l_30"><input id="c_show2" name="c_show" type="radio" value="0" /> 隐藏</label>
            </td>
          </tr>
          <tr class="c_content">
            <th class="w_75">中文内容：</th>
            <td class="w_255"><a onclick="javascript:edit_c4_s2('cn');" href="javascript:void(0)" title="点击打开图文编辑页面" class=" btn_blue_bor">点击打开图文编辑页面</a></td>
            <th class="w_75 lan_en" nowrap="nowrap">英文内容：</th>
            <td class="lan_en"><a onclick="javascript:edit_c4_s2('en');" href="javascript:void(0)" class=" btn_blue_bor" title="点击打开英文图文编辑页面">点击打开英文图文编辑页面</a></td>
          </tr>
          <tr class="c_content">
            <td colspan="4" align="center" style="height:20px;">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="4" align="center">
            	<input onclick="javascript:docreatemeet4_s2();" type="button" value="确 定" class="btn_blue26 line_bg_all">
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input onclick="javascript:tb_remove();return false;" type="button" value="取 消" class="btn_gray26 line_bg_all">
            </td>
          </tr>
        </table>
    </div>
</div>
</div>
<!-- 弹出层1结束 -->




<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
var arr_menu = <?php echo json_encode($this->menu);?>;
</script>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
<script type="text/javascript" src="js/meetcp/meet_create.js"></script>
</body>
</html>
